GtkRange: disconnect signals in the accessible
authorMatthias Clasen <mclasen@redhat.com>
Wed, 14 Aug 2013 03:54:53 +0000 (23:54 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 14 Aug 2013 04:04:05 +0000 (00:04 -0400)
commitb9a6e012d546fe10c977b89cbb3a0a33cff29e82
tree83407825f48a5a35429c78a1c2f8508906e9cdd2
parent38e51b27c2b95782a5f6500d357e5120db4c76c2
GtkRange: disconnect signals in the accessible

We were only disconnecting the signal in finalize, when
the widget was already unset. Instead, override the widget_set
and widget_unset vfuncs of GtkAccessible, and keep a reference
to the adjustment.

https://bugzilla.gnome.org/show_bug.cgi?id=705692
gtk/a11y/gtkrangeaccessible.c